package com.sky.service;

import com.sky.dto.DishPageQueryDTO;
import com.sky.dto.SetmealDTO;
import com.sky.entity.Setmeal;
import com.sky.result.PageResult;
import com.sky.vo.SetmealVO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ClassName: Setmeal
 * Package: IntelliJ IDEA
 *
 * @author 张文豪
 * @description
 * @date 2023/8/17 17:58
 */
@Service
public interface SetmealService {
    List<Setmeal> selectByCategory(Long categoryId);

    void save(SetmealDTO setmealDTO);

    PageResult pageQuery(DishPageQueryDTO dishPageQueryDTO);

    void startOrStop(int status, long id);

    SetmealVO getById(long id);

    void updateSetmeal(SetmealDTO setmealDTO);

    void deleteByIds(List<Long> ids);
}
